package com.smooth.site.sx.pc.company.enums;

public enum JobFlagEnums {
	nomal(1,"正常"),
	black(2,"拉黑"),
	;

	public Integer value;
	public String name;

	JobFlagEnums(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static JobFlagEnums getStatus(Integer value) {
		if (value != null) {
			JobFlagEnums[] otypes = JobFlagEnums.values();
			for (JobFlagEnums memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
